package cc.kigh.system.remote;

import cc.kigh.common.core.domain.entity.SysRole;
import cc.kigh.system.service.ISysRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author gylang
 * data 2022/3/14
 */
@Service
public class ISysRoleRemoteImpl implements ISysRoleRemote {

    @Autowired
    private ISysRoleService roleService;

    @Override
    public List<SysRole> selectRoleList(SysRole role) {
        return roleService.selectRoleList(role);
    }

    @Override
    public SysRole selectRoleById(long id) {
        return roleService.selectRoleById(id);
    }

    @Override
    public List<SysRole> selectRoleAll() {
        return roleService.selectRoleAll();
    }
}
